<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Core Plot (Mac OS): &lt;CPTResponder&gt; Protocol Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="customdoxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="core-plot-logo.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Core Plot (Mac OS)
   
   </div>
   <div id="projectbrief">Cocoa plotting framework for Mac OS X and iOS</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript" src="dynsections.js"></script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Animation&#160;&&#160;Constants</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('protocol_c_p_t_responder-p.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">&lt;CPTResponder&gt; Protocol Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="CPTResponder-p" --><!-- doxytag: inherits="NSObject-p-p" -->
<p>The basis of all event processing in Core Plot.  
 <a href="protocol_c_p_t_responder-p.html#details">More...</a></p>

<p><code>#import &lt;<a class="el" href="_c_p_t_responder_8h_source.html">CPTResponder.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for &lt;CPTResponder&gt;:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="protocol_c_p_t_responder-p__inherit__graph.png" border="0" usemap="#_3_c_p_t_responder_4_inherit__map" alt="Inheritance graph"/></div>
<map name="_3_c_p_t_responder_4_inherit__map" id="_3_c_p_t_responder_4_inherit__map">
<area shape="rect" id="node5" href="interface_c_p_t_layer.html" title="Base class for all Core Animation layers in Core Plot." alt="" coords="369,509,450,539"/><area shape="rect" id="node53" href="interface_c_p_t_plot_space.html" title="Defines the coordinate system of a plot." alt="" coords="355,645,463,675"/><area shape="rect" id="node2" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Protocols/NSObject_Protocol/Reference/NSObject.html" title="\&lt;NSObject&#45;p\&gt;" alt="" coords="5,618,123,649"/><area shape="rect" id="node7" href="interface_c_p_t_annotation_host_layer.html" title="A container layer for annotations." alt="" coords="513,263,695,294"/><area shape="rect" id="node35" href="interface_c_p_t_axis.html" title="An abstract axis class." alt="" coords="567,345,641,375"/><area shape="rect" id="node39" href="interface_c_p_t_axis_label_group.html" title="A container layer for the axis labels." alt="" coords="530,399,678,430"/><area shape="rect" id="node41" href="interface_c_p_t_axis_set.html" title="A container layer for the set of axes for a graph." alt="" coords="557,454,651,485"/><area shape="rect" id="node45" href="interface_c_p_t_grid_line_group.html" title="A group of grid line layers." alt="" coords="534,509,674,539"/><area shape="rect" id="node47" href="interface_c_p_t_grid_lines.html" title="An abstract class that draws grid lines for an axis." alt="" coords="550,563,658,594"/><area shape="rect" id="node49" href="interface_c_p_t_plot_group.html" title="Defines the coordinate system of a plot." alt="" coords="549,618,659,649"/><area shape="rect" id="node51" href="interface_c_p_t_text_layer.html" title="A Core Animation layer that displays a single line of text drawn in a uniform style." alt="" coords="549,673,659,703"/><area shape="rect" id="node9" href="interface_c_p_t_bordered_layer.html" title="A layer with rounded corners." alt="" coords="744,87,883,118"/><area shape="rect" id="node21" href="interface_c_p_t_plot.html" title="An abstract plot class." alt="" coords="778,250,849,281"/><area shape="rect" id="node33" href="interface_c_p_t_plot_area.html" title="A layer representing the actual plotting area of a graph." alt="" coords="763,305,863,335"/><area shape="rect" id="node11" href="interface_c_p_t_graph.html" title="An abstract graph class." alt="" coords="968,5,1053,35"/><area shape="rect" id="node17" href="interface_c_p_t_legend.html" title="A graph legend." alt="" coords="964,59,1057,90"/><area shape="rect" id="node19" href="interface_c_p_t_plot_area_frame.html" title="A layer drawn on top of the graph layer and behind all plot elements." alt="" coords="941,114,1081,145"/><area shape="rect" id="node13" href="interface_c_p_t_x_y_graph.html" title="A graph using a cartesian (X&#45;Y) plot space." alt="" coords="1140,5,1242,35"/><area shape="rect" id="node15" href="interface_c_p_t_derived_x_y_graph.html" title="An empty XY graph class used for testing themes." alt="" coords="1291,5,1442,35"/><area shape="rect" id="node23" href="interface_c_p_t_bar_plot.html" title="A two&#45;dimensional bar plot." alt="" coords="965,169,1056,199"/><area shape="rect" id="node25" href="interface_c_p_t_pie_chart.html" title="A pie chart." alt="" coords="961,223,1061,254"/><area shape="rect" id="node27" href="interface_c_p_t_range_plot.html" title="A plot class representing a range of values in one coordinate, such as typically used to show errors..." alt="" coords="955,278,1066,309"/><area shape="rect" id="node29" href="interface_c_p_t_scatter_plot.html" title="A two&#45;dimensional scatter plot." alt="" coords="953,333,1068,363"/><area shape="rect" id="node31" href="interface_c_p_t_trading_range_plot.html" title="A trading range financial plot." alt="" coords="930,387,1091,418"/><area shape="rect" id="node37" href="interface_c_p_t_x_y_axis.html" title="A 2&#45;dimensional cartesian (X&#45;Y) axis class." alt="" coords="768,359,859,390"/><area shape="rect" id="node43" href="interface_c_p_t_x_y_axis_set.html" title="A set of cartesian (X&#45;Y) axes." alt="" coords="758,454,869,485"/><area shape="rect" id="node55" href="interface_c_p_t_x_y_plot_space.html" title="A plot space using a two&#45;dimensional cartesian coordinate system." alt="" coords="542,727,666,758"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="closed.png" alt="+"/> Collaboration diagram for &lt;CPTResponder&gt;:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="protocol_c_p_t_responder-p__coll__graph.png" border="0" usemap="#_3_c_p_t_responder_4_coll__map" alt="Collaboration graph"/></div>
<map name="_3_c_p_t_responder_4_coll__map" id="_3_c_p_t_responder_4_coll__map">
<area shape="rect" id="node2" href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Protocols/NSObject_Protocol/Reference/NSObject.html" title="\&lt;NSObject&#45;p\&gt;" alt="" coords="14,6,132,37"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="protocol_c_p_t_responder-p-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Instance Methods</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">User Interaction</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="elRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a>)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="protocol_c_p_t_responder-p.html#a906fdd49f91a3cc2a9cadf0a1f7dd515">pointingDeviceDownEvent:atPoint:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">(Required) Informs the receiver that the user has pressed the mouse button (Mac OS) or touched the screen (iPhone OS).  <a href="#a906fdd49f91a3cc2a9cadf0a1f7dd515"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="elRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a>)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="protocol_c_p_t_responder-p.html#a10e0833efd588f761098eb8aa6ba9a9b">pointingDeviceUpEvent:atPoint:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">(Required) Informs the receiver that the user has released the mouse button (Mac OS) or lifted their finger off the screen (iPhone OS).  <a href="#a10e0833efd588f761098eb8aa6ba9a9b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="elRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a>)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="protocol_c_p_t_responder-p.html#a1d1dbd6f9e1e0336f0b6ef91015a26cf">pointingDeviceDraggedEvent:atPoint:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">(Required) Informs the receiver that the user has moved the mouse with the button pressed (Mac OS) or moved their finger while touching the screen (iPhone OS).  <a href="#a1d1dbd6f9e1e0336f0b6ef91015a26cf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="elRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a>)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="protocol_c_p_t_responder-p.html#a97e29015661d8cdfba700fc6aca55401">pointingDeviceCancelledEvent:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">(Required) Informs the receiver that tracking of mouse moves (Mac OS) or touches (iPhone OS) has been cancelled for any reason.  <a href="#a97e29015661d8cdfba700fc6aca55401"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>The basis of all event processing in Core Plot. </p>
</div><hr/><h2>Method Documentation</h2>
<a class="anchor" id="a97e29015661d8cdfba700fc6aca55401"></a><!-- doxytag: member="CPTResponder&#45;p::pointingDeviceCancelledEvent:" ref="a97e29015661d8cdfba700fc6aca55401" args="(id event)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="elRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a>) <a class="el" href="protocol_c_p_t_responder-p.html#a97e29015661d8cdfba700fc6aca55401">pointingDeviceCancelledEvent:</a> </td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">id</a>)&#160;</td>
          <td class="paramname"><em>event</em></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>(Required) Informs the receiver that tracking of mouse moves (Mac OS) or touches (iPhone OS) has been cancelled for any reason. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">event</td><td>The OS event. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Whether the event was handled or not. </dd></dl>

</div>
</div>
<a class="anchor" id="a906fdd49f91a3cc2a9cadf0a1f7dd515"></a><!-- doxytag: member="CPTResponder&#45;p::pointingDeviceDownEvent:atPoint:" ref="a906fdd49f91a3cc2a9cadf0a1f7dd515" args="(id event,[atPoint] CGPoint interactionPoint)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="elRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a>) pointingDeviceDownEvent: </td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">id</a>)&#160;</td>
          <td class="paramname"><em>event</em></td>
        </tr>
        <tr>
          <td class="paramkey">atPoint:</td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGPoint.html">CGPoint</a>)&#160;</td>
          <td class="paramname"><em>interactionPoint</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>(Required) Informs the receiver that the user has pressed the mouse button (Mac OS) or touched the screen (iPhone OS). </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">event</td><td>The OS event. </td></tr>
    <tr><td class="paramname">interactionPoint</td><td>The coordinates of the interaction. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Whether the event was handled or not. </dd></dl>

</div>
</div>
<a class="anchor" id="a1d1dbd6f9e1e0336f0b6ef91015a26cf"></a><!-- doxytag: member="CPTResponder&#45;p::pointingDeviceDraggedEvent:atPoint:" ref="a1d1dbd6f9e1e0336f0b6ef91015a26cf" args="(id event,[atPoint] CGPoint interactionPoint)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="elRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a>) pointingDeviceDraggedEvent: </td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">id</a>)&#160;</td>
          <td class="paramname"><em>event</em></td>
        </tr>
        <tr>
          <td class="paramkey">atPoint:</td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGPoint.html">CGPoint</a>)&#160;</td>
          <td class="paramname"><em>interactionPoint</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>(Required) Informs the receiver that the user has moved the mouse with the button pressed (Mac OS) or moved their finger while touching the screen (iPhone OS). </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">event</td><td>The OS event. </td></tr>
    <tr><td class="paramname">interactionPoint</td><td>The coordinates of the interaction. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Whether the event was handled or not. </dd></dl>

</div>
</div>
<a class="anchor" id="a10e0833efd588f761098eb8aa6ba9a9b"></a><!-- doxytag: member="CPTResponder&#45;p::pointingDeviceUpEvent:atPoint:" ref="a10e0833efd588f761098eb8aa6ba9a9b" args="(id event,[atPoint] CGPoint interactionPoint)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="elRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a>) pointingDeviceUpEvent: </td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">id</a>)&#160;</td>
          <td class="paramname"><em>event</em></td>
        </tr>
        <tr>
          <td class="paramkey">atPoint:</td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGPoint.html">CGPoint</a>)&#160;</td>
          <td class="paramname"><em>interactionPoint</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>(Required) Informs the receiver that the user has released the mouse button (Mac OS) or lifted their finger off the screen (iPhone OS). </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">event</td><td>The OS event. </td></tr>
    <tr><td class="paramname">interactionPoint</td><td>The coordinates of the interaction. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Whether the event was handled or not. </dd></dl>

</div>
</div>
<hr/>The documentation for this protocol was generated from the following file:<ul>
<li>Source/<a class="el" href="_c_p_t_responder_8h_source.html">CPTResponder.h</a></li>
</ul>
</div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="protocol_c_p_t_responder-p.html">CPTResponder</a>      </li>

    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a></li>
   </ul>
 </div>


</body>
</html>
